package com.example.hotelmanagement.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 用户表(User)实体类
 *
 * @author makejava
 * @since 2023-06-10 17:32:51
 */
@Data
@NoArgsConstructor
public class User implements Serializable {
    private static final long serialVersionUID = 581870065254551337L;
    /**
     * 编号
     */
    @TableId(type = IdType.AUTO)
    private Long id;
    
    private String username;
    
    private String password;
}

